package org.wang.generalcode.modules.exam.config;

import cn.hutool.core.util.StrUtil;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "oss", ignoreUnknownFields = true)
@Data
public class OssProperties {

    private String host;
    private String secretId;
    private String secretKey;
    private String platform;
    private String appId;
    private String region;

    private String bucketName = StrUtil.EMPTY;

    /**
     * 部分文件临时上传路径
     */
    private String localTmpFileUploadPath;
}
